<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>部门界面</title>
    <link th:href="@{/login/css/bootstrap.min.css}"  rel="stylesheet">
</head>
<body>
<table class="table">
    <thead>
    <tr>
        <td>部门编号</td>
        <td>部门名称</td>
    </tr>
    </thead>
    <tbody>
    <tr th:each="dept:${deptList}">
        <td th:text="${dept.depNo}"></td>
        <td th:text="${dept.depName}"></td>

    </tr>
    </tbody>
</table>
</body>
</html>